"""
try:
    可能发送异常代码块
except 异常类型 as 变量:
    变量里面就是异常描述信息
    捕获到异常执行代码块

try:
    可能发送异常代码块
except (异常类型1, 异常类型2, 异常类型3) as e:
    捕获到异常执行代码块

try:
    可能发送异常代码块
except 异常类型1 as e:
    捕获到异常执行代码块
except 异常类型2 as e:
    捕获到异常执行代码块
except 异常类型3 as e:
    捕获到异常执行代码块
"""

try:
    tab = 1 / 0
except ZeroDivisionError as e:
    print(e)